version 18.5
clear all
set more off


* set the path to global

global path_replication "CHANGE TO YOUR PATH"

global path_output "$path_replication/outputs"

global path_data "$path_replication/data"

global path_do "$path_replication/do_files"

adopath + "$path_replication/ado"



log using "$path_output/log_all", replace

set seed 123

**************************************************


*** run the code for cleaning.

do "$path_do/1_data_cleaning_students.do"

do "$path_do/1_data_cleaning_parents.do"

do "$path_do/1_data_cleaning_merge.do"

*** run the codes for outputs.


do "$path_do/2_table_1.do"

do "$path_do/2_table_2.do"

do "$path_do/2_table_3.do" 

do "$path_do/2_table_3_data_for_matlab.do"

do "$path_do/2_table_4.do"

do "$path_do/2_table_5.do"


do "$path_do/3_figure_B1.do"

do "$path_do/3_table_B1.do"

do "$path_do/3_table_C1.do"

do "$path_do/3_table_C2.do"

do "$path_do/3_table_C3.do"

do "$path_do/3_table_C4_C5.do"

do "$path_do/3_table_D1.do"

do "$path_do/3_table_D2_D3.do"

do "$path_do/3_table_F1.do"

do "$path_do/3_table_F2.do"

do "$path_do/3_table_F3.do"

do "$path_do/3_table_F4.do"


log close




